package com.example.demo.viewmodel.admin.share;

import com.example.demo.domain.Share;
import com.example.demo.viewmodel.admin.question.QuestionEditItemVM;
import org.hibernate.validator.constraints.Range;

import javax.print.event.PrintJobAttributeEvent;
import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

public class ShareEditRequestVM {
    private Integer id;

    private String content;

    @NotBlank
    private String title;
    @Valid
    private List<ShareEditItemVM> items;

    private Integer itemOrder;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<ShareEditItemVM> getItems() {
        return items;
    }

    public void setItems(List<ShareEditItemVM> items) {
        this.items = items;
    }

    public Integer getItemOrder() {
        return itemOrder;
    }

    public void setItemOrder(Integer itemOrder) {
        this.itemOrder = itemOrder;
    }
}
